<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="js/jquery-1.12.4.min.js"></script>
    <title>Title</title>
</head>
<body>
    <div id="div1"></div>
    <button id="btn1" value="submit">submit</button>
    <script>
        alert($(window).height());
        alert($(window).width());

    </script>
</body>
</html>